{include file="admin/inc/header.tpl"}

<div id="content">
	
You are here:
<div id="underlinemenu">
<ul>
<li><a href="/admin/userlist/">User list -></a></li>
<li><a href="">all guests</a></li>
</ul>
</div>	

<table id="mytable" cellspacing="0" summary="List of registed users">
<caption>List of guests</caption>
  <tr>
    <th scope="col">
    		<a href = "/admin/userlist/allguests/nick/1/">^</a>
			Nick
			<a href = "/admin/userlist/allguests/nick/0/">^</a>
	</th>
    <th scope="col">
	<a href = "/admin/userlist/allguests/last_visit/1/">^</a>
	Last active
	<a href = "/admin/userlist/allguests/last_visit/0/">^</a>
	</th>
	<th scope="col">
	<a href = "/admin/userlist/allguests/block/1/">^</a>
	Block
	<a href = "/admin/userlist/allguests/block/0/">^</a>
	</th>
	<th scope="col">
	<a href = "/admin/userlist/allguests/created/1/">^</a>
	Logged in
	<a href = "/admin/userlist/allguests/created/0/">^</a>
	</th>
	<th scope="col">
	<a href = "/admin/userlist/allguests/abused/1/">^</a>
	Abuses
	<a href = "/admin/userlist/allguests/abused/0/">^</a>
	</th>
  </tr>
  {foreach from=$guests name=foo item=i}
  <tr>
    <th {if $smarty.foreach.foo.index%2==0} class="specalt"{else} class="spec"{/if}>
    		<a href="/admin/user/deluser/{$i.user_id}/">
    			<img src="/media/admin/img/bg-action-delete.gif">
			</a>
    		<a href="/admin/userlist/profileguest/{$i.user_id}/">
    			{$i.user_login}{if $i.abuse_count>0}<b><div id = "offline">(!)</div></b>{/if}
			</a>
	</th>
    <td {if $smarty.foreach.foo.index%2==0} class="alt"{/if}>{$i.user_last_visit}</td>
	<td {if $smarty.foreach.foo.index%2==0} class="alt"{/if}>{$i.user_block|default:No}</td>
	<td {if $smarty.foreach.foo.index%2==0} class="alt"{/if}>{$i.user_created}</td>
	<td {if $smarty.foreach.foo.index%2==0} class="alt"{/if}>{$i.abuse_count}</td>
  </tr>
  {foreachelse}
  No user
  {/foreach}
</table>
{include file="admin/inc/pager.tpl"}
<!-- content-->
</div>

</body>
</html>